<%@ page contentType="text/html;charset=UTF-8" %>
<html>
  <head><title>Movie information</title></head>
  <body>
    <g:each in="${results}" status="index" var="it">
        <div>
            ${results[index].title}    ${results[index].averageResult}    ${results[index].releaseYear} ${results[index].synopsis}
        </div>
    </g:each>
  </body>
</html>